package service

import "github.com/gin-gonic/gin"

type IntoGinH interface {
	Into() gin.H
}

type VOMusic struct {
	UUID       string
	Title      string
	Properties string // map[string]interface{}
	ThumbUrl   string
}

func (vo *VOMusic) Into() gin.H {
	return gin.H{
		"uuid":       vo.UUID,
		"title":      vo.Title,
		"properties": vo.Properties,
		"thumbUrl":   vo.ThumbUrl,
	}
}
